#循环 pod install 直到所有完成
#!/bin/bash

function install() {
    pod install
}

function reInstall() {
    install
    if [ $? == 0 ]
    then
        echo "完成"
    else
        reInstall
    fi
}

reInstall